// 自动生成模板SysLicence
package model

import (
	"gin-vue-admin/global"
)

// 如果含有time.Time 请自行import time包
type SysLicence struct {
	global.GVA_MODEL
	LicenceUUID     string `json:"licenceUUID" form:"licenceUUID" gorm:"column:licence_uuid;comment:uuid;type:varchar(255);size:255;"`
	LicenceDuration int    `json:"licenceDuration" form:"licenceDuration" gorm:"column:licence_duration;comment:时长;type:int;"`
	LicencePoints   int    `json:"LicencePoints" form:"LicencePoints" gorm:"column:licence_points;comment:点数;type:int;"`
	Company         string `json:"Company" form:"Company" gorm:"column:company;comment:公司;type:varchar(255);size:255;"`
	LicencePath     string `json:"licencePath" form:"licencePath" gorm:"column:licence_path;comment:授权文件路径;type:varchar(255);size:255;"`
	LicenceAuthor   string `json:"licenceAuthor" form:"licenceAuthor" gorm:"column:licence_author;comment:授权文件路径;type:varchar(255);size:255;"`
}

func (SysLicence) TableName() string {
	return "sys_licence"
}
